package com.example.lin.common;

import com.fasterxml.jackson.annotation.JsonIgnore;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

/**
 * @author Administrator
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@Accessors(chain = true)
public class LoginResult {
    /**
     * 用户id
     */
    private Long id;

    /**
     * 状态码
     */
    private Integer code;

    /**
     * token
     */
    private String token;

    /**
     * 过期时间，单位为秒
     */
    private Long expiration;
}
